class Wapper:

    def __init__(self, func):
        self.func = func

    def __call__(self, *args):
        print('call ...........')
        self.func(*args)


@Wapper
def test():
    print('我是test类')


# a = Wapper(test)
test()